<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

require '../com.swiss.mooh.dao.impl/CarouselDaoImpl.php';
require '../com.swiss.mooh.service/CarouselServiceImpl.php';

$dispatcher = new CarouselDaoImpl();
$caService = new CarouselServiceImpl($dispatcher);

$result = $caService->deleteLeftCarouselByID($_POST['caID']);
echo $result;